package com.ruoyi.fjtseac.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author zzl
 * @date 2022/7/7 16:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Audio对象", description="")
public class Audio {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "音频id")
    @TableId(value = "audio_id", type = IdType.AUTO)
    private Integer audioId;

    @ApiModelProperty(value = "音频名")
    private String audioName;

    @ApiModelProperty(value = "音频存储url")
    private String audioUrl;

    @ApiModelProperty(value = "音频发表时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "时长")
    private String duration;
}
